<form class="checkoutform" action="{:U('insert')}" method="post">
  <div class="form-group">
    <label class="control-label">分类名</label>
    <input class="form-control" placeholder="请输入规则分类名称" datatype="*"  nullmsg="分类名称不能为空" errormsg="输入限制为文本" name="name" type="text">
  </div>
  <div class="form-group">
      <label class="control-label">父级节点</label>
      <select class="form-control" name="pid" id="pid">
        <option value="0">最高级</option>
        <volist name="pid" id="vo">
            <option value="{$vo.id}">{:getdeepstr($vo['cl'])}{$vo.name}</option>
        </volist>
      </select>
  </div>
  <div class="form-group">
    <label class="control-label">备注</label>
    <textarea class="form-control" name="remark" cols="50" placeholder="请输入备注" rows="6"></textarea>
  </div>
</form>